made script to create hourly data