formatting
script to generate stats from given time period