added redis init for production