updated build/go scripts and added logging