scp based on branch testing