preparing config directory