diff --git a/lofar-cwl/steps/LoSoTo.Plot.cwl b/lofar-cwl/steps/LoSoTo.Plot.cwl
index 55a5bb2912995a5e7cf8147665fb411eb960ec6f..1c9d5ba2144708375cc03d4fc3b09fc5dfcff1b0 100644
--- a/lofar-cwl/steps/LoSoTo.Plot.cwl
+++ b/lofar-cwl/steps/LoSoTo.Plot.cwl
@@ -23,7 +23,6 @@ requirements:
         entry: |
           #!/bin/bash
           set -e
-
           INPUT_H5PARM=$(inputs.input_h5parm.basename)
           DO_PLOTS=$(inputs.execute)
           if [ "$DO_PLOTS" = "true" ]; then
diff --git a/lofar-cwl/steps/LoSoTo.Smooth.cwl b/lofar-cwl/steps/LoSoTo.Smooth.cwl
index 303a245f9924dc2c1cdf9159cbd02dfd72f26e7d..cae7da2a2c05422916b8753a91cbe5c80cd5a17d 100644
--- a/lofar-cwl/steps/LoSoTo.Smooth.cwl
+++ b/lofar-cwl/steps/LoSoTo.Smooth.cwl
@@ -29,7 +29,6 @@ requirements:
         entry: |
           #!/bin/bash
           set -e
-
           INPUT_H5PARM=$(inputs.input_h5parm.basename)
           DO_SMOOTH=$(inputs.execute)
           if [ "$DO_SMOOTH" = "true" ]; then
diff --git a/lofar-cwl/steps/ms_concat.cwl b/lofar-cwl/steps/ms_concat.cwl
index fd123f599767d8d5db3156257ac2482524d9fc55..5a327a51b570aec4585e0ac84a2ae435205d7ad7 100644
--- a/lofar-cwl/steps/ms_concat.cwl
+++ b/lofar-cwl/steps/ms_concat.cwl
@@ -62,6 +62,7 @@ requirements:
       - entryname: ms_concat.sh
         entry: |
           #!/bin/bash
+          set -e
           directories=\$(ls -d out_*)
           #echo \$directories
           mkdir -pv workdir
diff --git a/steps/aoflag.cwl b/steps/aoflag.cwl
index b686569645bd68aefa1608caa48b5adf10bd3982..8c7786ad53561f8a513eeb1bcef9c3cae17467e7 100644
--- a/steps/aoflag.cwl
+++ b/steps/aoflag.cwl
@@ -135,6 +135,7 @@ requirements:
       - entryname: aoflag.sh
         entry: |
           #!/bin/bash
+          set -e
           directories=\$(ls -d out*)
           echo \$directories
           mkdir -pv workdir
diff --git a/steps/bulk_rename.cwl b/steps/bulk_rename.cwl
index cb456fb8c59477b6a32fced5a946b6b487271ae8..9da2a8dc14580cb4256e9aa7eeaa8467eaa9832f 100644
--- a/steps/bulk_rename.cwl
+++ b/steps/bulk_rename.cwl
@@ -36,4 +36,4 @@ requirements:
             cp "\${FILE_LIST[\$i]}" "tmp/\${FILE_PREFIX}_\${i}\${FILE_SUFFIX}"
           done
         writable: false
-  - class: InlineJavascriptRequirement
\ No newline at end of file
+  - class: InlineJavascriptRequirement
diff --git a/steps/untar.cwl b/steps/untar.cwl
index 0ca0dcf00abc2a9903061e4e7e80df313efeda33..132abee03f57631ab93dc4acd1f6dbab66ca8713 100644
--- a/steps/untar.cwl
+++ b/steps/untar.cwl
@@ -23,6 +23,7 @@ requirements:
       - entryname: 'untar.sh' 
         entry: |
           #!/bin/bash
+          set -e
           mkdir out
           cd out
           tar -xvf $1