Melt the butter in a large pot or Dutch oven over a medium heat. Add the flour and whisk for a minute.
Lower the heat slightly and add the milk in a slow stream, whisking the whole time making sure you get all the flour mixture from the bottom and sides of the pan.
Add the garlic to the milk.
Cook for a few minutes until it thickens slightly and coats the back of a wooden spoon. Keep scraping the bottom so the flour doesn't settle.
Lower the heat right down and add the cheese in three lots, whisking well and letting it melt in between each addition.
If there are still some small chunks not melted in, it's fine!
Take off the heat and whisk in the tomato paste, rosemary, butternut mixture, salt and pepper.
Mix the cooked pasta through and pour into your baking dish (I used a 30cm x 21cm rectangular dish) and top with the panko crumb mixture.
Bake in the oven for 20 - 25 minutes until nice and golden. Don't bake it any longer than that as you don't want to overcook the pasta and dry out the sauce.
Leave it to sit for 5 - 10 mins before serving.