added aggs_out argument to aggregate.swmpr