Fixup of the template, and to the db migration exec