patched exitwp.py