added check_replication.sh