Move env var creation to correct install file.

[merge]