Initial commit of Lua script