Now that I am awake. Not sure what ytou are asking. > package.path = os.getenv(varname("LUA_PATH", v)) or package.path > package.cpath = os.getenv(varname("PATH", v)) or package.path Makes sense to me. DB