Move mpstats from scripts