Threatened plants and wildlife get £1.8m