Some useful Lua script.