bugfix
direct execution of environment command if only one environment is active