find env_dir another way