Remove wildcard junk from statistic script