Work Hours Options

Adds options to set when you want the script to be active as well as an
error check if the numbers are incorrect.
allowed worktime up to 24 hours
Added check for worktime