implements external hbs templates