Changed so loader root equals TWP___TWIG_ROOT instead of TWP___TEMPLATE_PATH