Add setting feature for directories