added redis and a few other fixes