Bug fixes, now get the PDFs correctly and set ROOTSYS correctly.