updated monit script