added functionality to pass pdftotext options