#7 remove defaults as dirlist is optional. check boolean value instead of just the presence of dirlist option