Simplify env variable setting in pair script