When you first tried it, using @hkr 's original templates/scripts – did you include field replacements? With appropriate names, based on the fields in your note type? Because I notice that what you posted here has none.