configure directory in extension