Add a script to aggregate timeseries.