twig in legacy projects