add monitor script for replicat