moved Clojure config into its own function