Set up hours in template