diff --git a/runs/kallisto_sleuth/run.cwl b/runs/kallisto_sleuth/run.cwl
index dc8b77af8941b3988530ec0fa5c4ed74d52b0420..60a4475f53945dbe96e9499d6bf46859d3273b4d 100644
--- a/runs/kallisto_sleuth/run.cwl
+++ b/runs/kallisto_sleuth/run.cwl
@@ -1,21 +1,29 @@
 #!/usr/bin/env cwl-runner
+
 cwlVersion: v1.2
-class: Workflow
+class: CommandLineTool
+
 inputs:
-  in_sleuth:
-    type: File
-  out_folder:
-    type: string
+- id: r_script
+  type: File
+  inputBinding:
+    position: 0
+- id: in_sleuth
+  type: File
+  inputBinding:
+    position: 1
+- id: out_folder
+  type: string
+  inputBinding:
+    position: 2
+
 outputs:
-  out_dir:
-    type:
-      type: array
-      items: Directory
-    outputSource: kallisto_sleuth/outdir
-steps:
-  kallisto_sleuth:
-    run: ../../workflows/kallisto_sleuth/workflow.cwl
-    in:
-      in_sleuth: in_sleuth
-      out_folder: out_folder
-    out: [outdir]
+- id: outdir
+  type:
+    type: array
+    items: Directory
+  outputBinding:
+    glob: $(runtime.outdir)/$(inputs.out_folder)
+
+baseCommand:
+- Rscript
diff --git a/runs/kallisto_sleuth/run.yml b/runs/kallisto_sleuth/run.yml
index 49c11233026681aefe4d30351eaab03e21ba7477..7307a3537891c059bbbb4bea668f34678140f032 100644
--- a/runs/kallisto_sleuth/run.yml
+++ b/runs/kallisto_sleuth/run.yml
@@ -1,5 +1,8 @@
 cores: 1
+r_script:
+  class: File
+  path: ../../workflows/kallisto_sleuth/kallisto_sleuth.R
 in_sleuth:
   class: File
-  path: ../kallisto_collect/kallisto_sleuthObject.RData
+  path: ../kallisto_collect/out/kallisto_sleuthObject.RData
 out_folder: out
diff --git a/workflows/kallisto_sleuth/kallisto_sleuth.R b/workflows/kallisto_sleuth/kallisto_sleuth.R
index 688904d0b3d69b94b474587583d8030122c218f6..c4b599b5a0b99eae5b0026fd167ec6daaff93913 100644
--- a/workflows/kallisto_sleuth/kallisto_sleuth.R
+++ b/workflows/kallisto_sleuth/kallisto_sleuth.R
@@ -1,20 +1,12 @@
 #!/usr/bin/env Rscript
-################################################
-### Diff. gene expression with sleuth ##########
-################################################
-
-################################################
-#### CWL-independent tests
-################################################
 
-# arc_root <- "~/gitlab_dataplant/samplearc_rnaseq_adrian/"
-# in_sleuth <- "runs/kallisto_collect/kallisto_sleuthObject.RData"
-# out_folder <- "runs/kallisto_sleuth"
+### Diff. gene expression with sleuth
 
 ################################################
 #### Load required library
 ################################################
 library(sleuth)
+
 ################################################
 #### Read arguments from CLI
 ################################################