diff --git a/prefactor_calibrator.cwl b/prefactor_calibrator.cwl
index d049b55d4a85e2f1d926493c4f2e7b0d7aa96f8e..324b62af8456672fb877b977620b6416fe935abc 100644
--- a/prefactor_calibrator.cwl
+++ b/prefactor_calibrator.cwl
@@ -17,19 +17,33 @@ inputs:
     type: boolean
     'sbg:x': -617
     'sbg:y': -347
+  - id: skymodels
+    type: Directory
+    'sbg:x': -154.39886474609375
+    'sbg:y': -775.5
 outputs:
   - id: demix_parmdb
     outputSource:
       - ndppp_prep_cal/demix_parmdb
-    type: ['Directory[]', Directory, 'null']
+    type:
+      - 'null'
+      - Directory
+      - type: array
+        items: Directory
     'sbg:x': -67.85011291503906
     'sbg:y': -356.76287841796875
-  - id: output_ms
+  - id: output_models
     outputSource:
-      - aoflagger/output_ms
-    type: 'Directory[]'
-    'sbg:x': 219.203125
-    'sbg:y': -564.4959716796875
+      - find_skymodel_cal_py/output_models
+    type: File
+    'sbg:x': 348.60113525390625
+    'sbg:y': -696.5
+  - id: msout
+    outputSource:
+      - ddecal/msout
+    type: Directory
+    'sbg:x': 507
+    'sbg:y': -524
 steps:
   - id: ndppp_prep_cal
     in:
@@ -67,8 +81,42 @@ steps:
       - id: output_ms
     run: steps/AOFlagger.cwl
     label: AOFlagger
-    'sbg:x': -74
-    'sbg:y': -597
+    'sbg:x': -82
+    'sbg:y': -571
+  - id: find_skymodel_cal_py
+    in:
+      - id: msin
+        source:
+          - aoflagger/output_ms
+      - id: skymodels
+        source: skymodels
+    out:
+      - id: output_models
+    run: steps/find_skymodel_cal.cwl
+    label: find_skymodel_cal.py
+    'sbg:x': 105
+    'sbg:y': -709
+  - id: blsmooth
+    in:
+      - id: msin
+        source: aoflagger/output_ms
+    out:
+      - id: msout
+    run: steps/blsmooth.cwl
+    label: BLsmooth
+    scatter:
+      - msin
+    'sbg:x': 112
+    'sbg:y': -522
+  - id: ddecal
+    in:
+      - id: msin
+        source: blsmooth/msout
+    out:
+      - id: msout
+    run: steps/predict.cwl
+    'sbg:x': 313
+    'sbg:y': -521
 requirements:
   - class: SubworkflowFeatureRequirement
   - class: ScatterFeatureRequirement