move env var handling into profiles.clj