diff --git a/workflow/averaging_pipeline.cwl b/workflow/averaging_pipeline.cwl
index 537c154dde5bbb39061a95797436cba4fd1b21ca..3588edd0402a718909a2c91cea6f7d0d3f98a59b 100644
--- a/workflow/averaging_pipeline.cwl
+++ b/workflow/averaging_pipeline.cwl
@@ -5,7 +5,7 @@ $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 inputs:
   - id: msin
-    type: Directory
+    type: 'Directory[]'
     'sbg:x': -88.39886474609375
     'sbg:y': 95.5
   - id: strategy
@@ -105,7 +105,10 @@ steps:
       - id: msout
     run: ../lofar-cwl/steps/DP3.Execute.cwl
     label: DP3.Execute
+    scatter:
+      - msin
     'sbg:x': 132
     'sbg:y': 61
 requirements:
   - class: SubworkflowFeatureRequirement
+  - class: ScatterFeatureRequirement