added config command to enable environment switching