Fixed background setting with ENV variables and cached result