Funding available to save crumbling buildings