Added the ability for multiple pdfs