def METHOD_NAME():
    if not 'MODULEPATH' in os.environ:
        f = open(os.environ['MODULESHOME'] + "/init/.modulespath", "r")
        path = []
        for line in f.readlines():
            line = re.sub("#.*$", '', line)
            if line != '':
                path.append(line)
        os.environ['MODULEPATH'] = ':'.join(path)
    if not 'LOADEDMODULES' in os.environ:
        os.environ['LOADEDMODULES'] = ''