Added ScanFolders option for recursive scan option.