cleaned up build script