Fixed bug in get hour, added minor create schedule of hours functionality.