Update environment script.