Change goal to statistic from generate.