fix to allow running with 'lein run' or 'java -jar'