fixes to paths for folder-level processing