added deployTemplateAndStart