Wrote a new build script and rebuilt docs