substitute config files