Improve opening pdfs and cleaning project