Added OS check for go script