change way the env.sh is resolved for custom env.sh settings