support for modules and configurable switchcommands