diff --git a/snakecnv/mergebatches.snk b/snakecnv/mergebatches.snk
index 58f9f8da6c216454aacdb68134ee4ed1e09deacf..be1735efbe3dafc44e8d5f7508c1c17c4918e362 100644
--- a/snakecnv/mergebatches.snk
+++ b/snakecnv/mergebatches.snk
@@ -179,11 +179,13 @@ rule summary:
     input:
         expand("filtered/{svtype}/svtyper_{chrom}_{svtype}_genotypes_filtered.vcf.gz", chrom=chromosomes, svtype=variant_types)
     params:
-        tpl = os.path.join(ROOTPATH, "full.tpl")
+        tpl = os.path.join(ROOTPATH, "full.tpl"),
+        ipynb = os.path.join(ROOTPATH, "Summarized_results.ipynb")
     output:
         ipynb = "Summarized_results.ipynb",
         html = "Summarized_results.html"
     threads:
         1
     shell:
+        "cp {params.ipynb} {output.ipynb}; "
         "jupyter nbconvert --to html --template {params.tpl} --execute {output.ipynb}"
\ No newline at end of file