a micro templating script