update to load-cfg to work in and outside uberjar