Add meanrates script