Added chosen in DeploymentType
Added error handling