add support for graphite templates