minor stuff and issues with the statistics script