Switch to using redis as the storage for the script