Generalized ATS go script, now named xx_go.sh