A monitor script