Added a --local flag for deploying on the local node only.