adding log monitor script