changed the display script to allow for hourly and current