Update template file to exit if accessed directly

Noticed this missing, wasn't sure if it was intentional but thought it
best be added.