genr

on the fly generation of csvout/aggregate.csv when running tocsv.py script