sync_replica.sh #4