added config for redis