Added functionality for enabling/disabling a job