Update counterpart.sh