default to -a with config file

I made it so that -a is assumed when a config file is present with a location. I also changed discoverConfig to take no arguments, as I didn'tsee where that argument was being used.