try to use system envs if specified