scripting the build process