replica_cleanup.sh #6