Beaches get millions for restoration