Lua code formatting/clean up