add directory and tagindexProcessor