change protocol script