allow multiple directories and docs