Add support for specifying an environment for a deployment