New future for landmark school following Scottish Land Fund award