Add new digest, fixes to build script and template