Move env var creation to correct install file.