Edit: detectcp.py