> I have no idea how you can make the distinction for LUA_PATH / > LUA_CPATH > though. This might be a problem. I am not sure if that is what you mean, but Lua 5.2 will look first for variables LUA_PATH_5_2 and LUA_CPATH_5_2. -- Roberto