Enhanced function for downloading Ownlcoud