Added new functionality to Python reader