use deploy_template