remove redis stuff from pythong script