Fix typo and simplify script in protocol document