Updated doc build script to new version