modified sysmon_toggle to new struct