update gac script code.