modified envp to return different values to indicate errors rather than relying on low_error.