           group (when group-uuid
                   [{:db/id (d/tempid :db.part/user)
                     :group/uuid (java.util.UUID/fromString group-uuid)
-                    :group/job job-id }])
+                    :group/job job-id}])
           txn [runtime-env
                status-env
                commit-latch

            (when (seq trace)
              (recur (drop (count submission-batch) trace)
                     (+ simulation-time cycle-step-ms)
                     (if (> time-ms-since-last-rebalancer (:time-ms-between-rebalancing config))
                       0
                       (+ time-ms-since-last-rebalancer cycle-step-ms))))))
        (println "count of jobs submitted " (count (d/q '[:find ?e
                                                          :where
                                                          [?e :job/uuid _]]

      (System/exit 0))
    (when (not= (count required-options) (count (select-keys options required-options)))
      (println "Missing required options: "
               (->> options
                    keys
                    set
                    (clojure.set/difference required-options)
                    (map name)))
      (println (usage summary))
      (System/exit 1))
    (log/info "Pulling input files")
