added search export to pdf