fixed the go script