collector/runner: extract loadConfig from Run.