Added support for more PDFs, branch and batch.