added ability to turn watchdogs on and off