made it possible to include templates from within templates. fixed some templates