Set ENV vars based on CLI options.