Modified Redis Script