Updated to work with latest version 12 of wkhtmltoimage