Add check pdb and print script