Finalized aggregation script. Time to start cutting for visualizations.