take local config as well