Cleaned up pext reader and fixed it to work with updates to lspreader.py