added ptags.py