write out sha template