add template version and commit id to init file