Modified the module to allow the configuration to be set easier