Script to search pdfs