tried to fix minirunner, but still not working quite right