adjusted deploy template