protocol script