diff --git a/download-latest-firmware-build.py b/download-latest-firmware-build.py
index b4d38182d8af87a6d3a6eb637b839b028a87a5de..12e367ab838d85b47be00cc6d2df2fc48cb2c368 100755
--- a/download-latest-firmware-build.py
+++ b/download-latest-firmware-build.py
@@ -74,15 +74,7 @@ for job in pipeline_jobs:
                 for chunk in artifact_request.iter_content(chunk_size=1024*1024):
                     artifact_temp.write(chunk)
 
-            with zipfile.ZipFile(artifact_temp) as artifact_zip:
-                version = find_version_from_archive(artifact_zip.infolist())
-                if not os.path.exists(version):
-                    print(version)
-                    artifact_zip.extractall("gluon/output/")
-                    os.rename("gluon/output", version)
-                    if args.pipeline_id_file:
-                        with open(args.pipeline_id_file, "w") as pipeline_id_file:
-                            pipeline_id_file.write(str(pipeline_id))
-                else:
-                    print(f"'{version}' already exists")
-                    sys.exit(1)
+            extract_zip(artifact_temp)
+            if args.pipeline_id_file:
+                with open(args.pipeline_id_file, "w") as pipeline_id_file:
+                    pipeline_id_file.write(str(pipeline_id))