add template version and commit reference to init file