allow agent to be disabled