using only environment variables (fixes #283).