adding script for new data aggregation