setup config for configfile