Added directory option.
Added processing the descriptions.