add a bond valence waiver feature in the script