protocol confirmation debug script