diff --git a/archiver/pipelines/actions/get-heritrix-warc.xpl b/archiver/pipelines/actions/get-heritrix-warc.xpl
index e28089d..a44d344 100644
--- a/archiver/pipelines/actions/get-heritrix-warc.xpl
+++ b/archiver/pipelines/actions/get-heritrix-warc.xpl
@@ -55,7 +55,7 @@
-
+
queue.xml
write
@@ -78,6 +78,9 @@
+
+
+
@@ -86,7 +89,7 @@ declare namespace util = "http://exist-db.org/xquery/util";
for $q in /queue return
update
- insert
+ insert
into $q,
for $a in /queue/action where $a/@uuid = $(uuid) return
diff --git a/archiver/pipelines/actions/package-heritrix-warc.xpl b/archiver/pipelines/actions/package-heritrix-warc.xpl
index b9a11e4..51dbea7 100644
--- a/archiver/pipelines/actions/package-heritrix-warc.xpl
+++ b/archiver/pipelines/actions/package-heritrix-warc.xpl
@@ -34,16 +34,49 @@
-
-
-
-
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+ text
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -83,7 +116,7 @@
-
+
@@ -91,10 +124,10 @@
-
+
-
-