updated plugin to show an example of how to use the template system