run_if_replica.sh #7