added code to enable/disable probes