Added pdb scripting