Added code to deal with company hours