added support for passing 'none' argument for moduleName