Place the squash, aubergine, sweet potato and courgette in a large roasting tin and drizzle with with the olive oil. Roast in the oven for 20 minutes, or until soft and golden-brown.
Heat a medium frying pan and add a little oil. Once hot, add the onion and garlic. Cook for 3-4 minutes until soft.
Add the tinned tomatoes and cook for a further 15 minutes, or until reduced in volume by half.
Meanwhile, place a large saucepan of water on the hob and add a pinch of salt. Once boiling, add the penne pasta and cook according to packet instructions. Once cooked drain and stir in the tomato sauce, roasted vegetables, green beans and parsley. Transfer to an ovenproof dish.
Mix the breadcrumbs and cheese in a small mixing bowl, then sprinkle over the pasta.
Bake in the oven for 15-20 minutes, or until golden-brown.