Merge pull request #3 from jbouse/master

Update template to use instance variable
removing deprecated variable use

thanks to @jbouse