added log messages to build script.