added option to active and deactive jobs