preparing config files