Added the ability for module installers to run simple queries