Correcting how it handles a passed DB handle. It would accidentally overwrite the template name too.
No longer need the DB ref to call Macro::Template