Modified redis to use config