Doc build script updated