Added in a Lua implementation, This is using LuaJ so probably going to be harder to do in C++ and scripts will probably not be compatible.