Added the build script that does all of the dirty work.