modify PandoraExtractor.py