Refactored code to pass new option when instantiating Job class