You must define "ENTITY1" when you want to use A5 templates in A7 or A8. Add something like "define ENTITY1 skill99;" in your script before you include the templates.
There is one very old demo, the awful "office level" from 10 years ago. This demo used the A5 templates, and on my PC it still runs under A8.