tweaking ModuleConfig struct and enabling direct running of command
fixing tests