update repo script syntax fixes, remove old sync script.