work on ownCloud script
merge fix