Adapt to changed environment variable