added better source of config