added deletion of environment assignments