diff --git a/scripts/md2html/build.sh b/scripts/md2html/build.sh
index b40a1a12e2..68bedf9bc6 100755
--- a/scripts/md2html/build.sh
+++ b/scripts/md2html/build.sh
@@ -52,12 +52,16 @@ for specification in $specifications; do
 
   minorVersion=${version:0:3}
   tempfile="$deploydir/temp/$version.html"
+  tempfile2="$deploydir/temp/$version-2.html"
 
   echo === Building $version to $destination
 
   node scripts/md2html/md2html.js --maintainers $maintainers $specification "$allVersions" > $tempfile
-  npx respec --no-sandbox --use-local --src $tempfile --out $destination
-  rm $tempfile
+  npx respec --no-sandbox --use-local --src $tempfile --out $tempfile2
+  # remove unwanted Google Tag Manager and Google Analytics scripts
+  sed -e 's/';
-    preface += ``;
-    preface += fs.readFileSync(path.resolve(__dirname,'./analytics/google.html'),'utf8');
-    preface += '
';
+    preface += `\n`;
+    preface += '\n';
     preface += 'OpenAPI Specification v30.0.1 
Copyright © 3001 the Linux Foundation
What is the OpenAPI Specification?
The OpenAPI Specification (OAS) defines a standard, programming language-agnostic interface description for HTTP APIs, which allows both humans and computers to discover and understand the capabilities of a service without requiring access to source code, additional documentation, or inspection of network traffic. When properly defined via OpenAPI, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. Similar to what interface descriptions have done for lower-level programming, the OpenAPI Specification removes guesswork in calling a service.Status of This Document
The source-of-truth for this specification is the HTML file referenced above as This version.
+
+OpenAPI Specification v30.0.1 | Introduction, Definitions, & More
+
+
+OpenAPI Specification v30.0.1 
Copyright © 3001 the Linux Foundation
What is the OpenAPI Specification?
The OpenAPI Specification (OAS) defines a standard, programming language-agnostic interface description for HTTP APIs, which allows both humans and computers to discover and understand the capabilities of a service without requiring access to source code, additional documentation, or inspection of network traffic. When properly defined via OpenAPI, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. Similar to what interface descriptions have done for lower-level programming, the OpenAPI Specification removes guesswork in calling a service.Status of This Document
The source-of-truth for this specification is the HTML file referenced above as This version.
 Heading 1
 Text for first chapter