Since these commands are run against a template, have you checked the template itself?
Either that, or you could use run once to create the files themselves and then run them in succession.
All depends on how much you want to be in the template, vs creating on the fly.
-KjB
vExpert/VCP/VCAP
vmwise.com / @vmwise
-KjB