raise exception when envrion does not exist
restore some files from fc857ed007028f20aa11049dd05a366feb6e2b6e: removed oauth2.0