Added ability to specify which template a provisioning script uses