adapt the previous local deployment to deploy multiple machines