Improved error handling in build scripts. Use /NOPAUSE parameter for automated builds.