Fixes previous PR

I removed the DIGEST from the *_build template files in my last PR so it broke the public area. It is now fixed (and properly tested on my Cozy).