Fleshed out master build script