Finished initial version of sync_all.sh