add monitor script