updated sync_uploads.sh