make sure config directory is created