Added more templating, slurping curl sample.