restoring config directory