updated to use owncloud instead of dropbox