   "Invoke the audio encoder script."
   [{:keys [input output bitrate] :as args}]
   (apply sh "daisy-pipeline"
-         "/usr/lib/daisy-pipeline/scripts/modify_improve/dtb/DTBAudioEncoder.taskScript"
+         (str install-path "/modify_improve/dtb/DTBAudioEncoder.taskScript")
          (map (fn [[k v]] (format "--%s=%s" (name k) v)) args)))

  `/usr/lib/daisy-pipeline/scripts`."
  (:require [clojure.java.shell :refer [sh]]
            [clojure.string :as s]))

(defn continuation-line? [line]
  (cond

  seq on successful validation or a seq of error messages otherwise"
  [file]
  (-> (sh "daisy-pipeline"
          (str install-path "/verify/ConfigurableValidator.taskScript")
          (str "--validatorInputFile=" file)
          ;; make sure it has to be a DTBook file
          "--validatorRequireInputType=Dtbook document"
