Added an example usage for template.R