adding runHats and some plugins