add redis. Other minor tweaks.