always use the exposed variable
Merge pull request #47 from dawicorti/master

--template works as expected