diff --git a/biopet.wdl b/biopet.wdl
index f9d2a6bd162cc82a8115b38f27be6c895205c682..9a7e402631f8013a3e04b4ce794c331aae873527 100644
--- a/biopet.wdl
+++ b/biopet.wdl
@@ -121,7 +121,6 @@ task FastqSync {
 
 task SampleConfig {
     String? preCommand
-    String tool_jar
     Array[File]+ inputFiles
     String keyFilePath
     String? sample
@@ -138,7 +137,7 @@ task SampleConfig {
         set -e -o pipefail
         ${preCommand}
         mkdir -p . ${"$(dirname " + jsonOutputPath + ")"} ${"$(dirname " + tsvOutputPath + ")"}
-        java -Xmx${mem}G -jar ${tool_jar} \
+        biopet-sampleconfig -Xmx${mem}G \
         -i ${sep="-i " inputFiles} \
         ${"--sample " + sample} \
         ${"--library " + library} \