It also directed federal land agencies to preserve habitat on their lands