adjust how the app env is configured.
from last commit