Added more Lua configurability