plotEnvironment separated minor changes