diff --git a/spim_registration/timelapse/Snakefile b/spim_registration/timelapse/Snakefile
index c6dab527350c1835f8a2af98afea2b2a9ec8ad52..6c6b7445e7501d4dd9f023286d3b8c74a2600089 100755
--- a/spim_registration/timelapse/Snakefile
+++ b/spim_registration/timelapse/Snakefile
@@ -468,7 +468,7 @@ rule hdf5_xml_output:
            jdir=JOBDIR,
            path_bsh=config["common"]["bsh_directory"] + config["hdf5_output"]["bsh_file_hdf5"])
 
-        part_string += " > {log} 2>&1"
+        part_string += " > {log} 2>&1 && touch {output}"
         shell(part_string)
 
 rule resave_hdf5_output: