included the template as a heredoc in the script, added usage to readme