changed build script to log the env variable