Fixing redis dependencies and settings