secured env_dir in the same way the others are saved