Add optparse to readPac.py