twig, simple_html_dom added, parsing modified