add limited support for underscore templates