Lawsuit targets energy development in Montana, Wyoming