make more use of the .env file on diverse systems