Allow setup ENV if mod_env is missing; fix