For python3 and useing pdfkit to replace xhtml2pdf