Setting environment variables with a script