replaced pdf2html path validate with 'which' command.