diff --git a/hot_redis/client.py b/hot_redis/client.py
index <HASH>..<HASH> 100644
--- a/hot_redis/client.py
+++ b/hot_redis/client.py
@@ -52,6 +52,7 @@ class HotClient(redis.Redis):
         single key arg.
         """
         script = self.register_script(code)
+        setattr(script, "name", name)  # Helps debugging redis lib.
         method = lambda key, *a, **k: script(keys=[key], args=a, **k)
         setattr(self, name, method)
Gives scripts object a name attribute, can help debugging the redis lib.