clean and build script.