replica_cleanup.sh #7