Consolidate fixModules' and checkModules', this closes #14

Also float a check command constant out to top level.