Add totals column, add year to dates in CSV output