added redisoptions to reset_config