added setting to flush redis if you feel like doing so in dev