change the way we handle redis settings