add PDFTOTEXT_PATH and automatically expand user directory