Fixed checkenv.sh script so that colors are reset properly.