Lua scripting now works