make config_file a flag so it's not static anymore