lazy load ess environment