ENH: First working version of Sync script