define list of folders and use on line 239 as well?