Refactored redis.execute()