added option to disable the monitor