replaced pdf2html path validation to 'which' command