modded pcap.py - new version