Sorry, I should not post to the list before I have awoken. I was thinking about the new protocol for calling luaopen_xxx(). These luopen_xxx() functions are now called by using lua_call(L,1,0). I presume this is to make LUA_ENVIRONINDEX operable. DB