Added logic for Heroku-Redis interface.