adding support for graphite templates