Added DOMPDF functionality