added a runner for analysis and some additional methods to allow for this