added dep check for smarty and twig