cloud sync scripting