moved env stuff into distro specific