Added pdf scraping and fixed minor issues with formats and searching