Modify activation of contracts called by GP so that they can be activated one at a time (more reliable).
Removed useless pdb import