Add concat file code and upstream_check settings.