Added assurance that config directories exist