     (run-hooks 'boop-update-hook)
     (-map (lambda (config)
             (let* ((id (car config))
-                   (click (plist-get (cdr config) :onclick))
+                   (select (plist-get (cdr config) :onselect))
                    (script (cdr (assoc (plist-get (cdr config) :script) plugins)))
                    (args (mapconcat 'identity (plist-get (cdr config) :args) " ")))
-              ;; Set up the :onclick events
-              (when click (eval `(boop-defmodelinemap ,id click)))
+              ;; Set up the :onselect events
+              (when select (eval `(boop-defmodelinemap ,id select)))
               ;; Only boop the configs with scripts
               (when script
                 (async-start `(lambda () (shell-command-to-string (format "%s %s" ,script ,args)))

(defun boop-flash-result-ids ()
  "Flashes the results based on their ID for 5 seconds."
  (interactive)
  (let ((previous-format-func boop--format-func))
    (setq boop--format-func 'boop--format-result-as-id)
    (run-at-time "2 sec" nil `(lambda () (setq boop--format-func (quote ,previous-format-func))))))

(defun boop (id status)
  "Manually boop something and set ID to have a status of STATUS."

  "The default directory to read plugins from.")

(defvar boop-config-alist nil
  "The main alist of scripts and the arguments to run them with.

Each entry Should be in the format (ID :script &optional ARGS)")

(defvar boop-result-alist nil
  "This is an alist to track the results of plugins and boops.
