Simply prepare the green beans and dairy-free mushroom sauce up till the point where you bake it. Then when ready to serve, finish by baking the casserole and making the fried shallots.