Made options more compatible with WkHtmlToPdfEngine