added support for handlebars