Fix index.rst for docs
python3 compatability changes