added an error check in the go.bat file