moved averages previous hours to settings