Fixed loading of config.  I need integration tests :(