@modulexcite Your additions made it so the target directory was indexed every time you did a search. I put in the $theIndex variable to fix for the moment. Also, the status bar about the # of hits does not updated correctly after the first time you search for text.