DH's python scripts.