Changed psl_harness.py to be more robust.