adding reset-on option
jobs reset functions properly
adding reset option