runs pepstats
flattens output into csv file