If pathToConfig is passed, it will use that