removed unused code from build script