small updated to sync script