replica_cleanup.sh #4