Added checks for ownCloud