added extraction script for parity violation