Advanced Lua scripting with Redis