Minor changes to wkhtmltopdf gen