Add documentation to Lua scripts