Replace Ruby with Lua