add directory setting