add stats.pl, missed the first time round