Added redis support