   [_ eid params get-toolinfo template]
   (let [status (atom {:done []})
         {:keys [user cmd phase modifier compfile]} params
-        rep (if modifier :rep nil)
+        rep (if (= modifier "replicates") :rep nil)
         outdir (cmn/get-exp-info eid :out)
-
         exp (cmn/get-exp-info eid :exp)
         user (get-mail-recipient user)]
     {:status status

        {:keys [user cmd phase modifier compfile]} params
        recipient (pams/get-params [:email (keyword user)])]
    {:status status
     :fut (cmn/run-comparison
           exp eid recipient compfile get-toolinfo template status)}))

(defmethod action :xcompare

        {:keys [user cmd phase modifier compfile]} params
        user (get-mail-recipient user)]
    {:status status
     :fut (cmn/launch-action
           eid user
           get-toolinfo template
           :action (name cmd)
           :compfile compfile
           :status status)
     #_(cmn/run-comparison
      exp eid user compfile get-toolinfo template status)}))


(defmethod action :aggregate
