Improve dex Lua syntax