Updated environment setup script.