Create stat.pl

Run in necessary cgi server, with the files needed downloaded.