Upgrade run.sh to two-client case