modified, can run on multiple config_files