Support multiple input directories