Protocol scripts and changes to rig