replaced PNG diagrams by PDFs