add directory-preprocess