Modified revtable.py, splitpdf.py