Sync script