Keeping the butter cold from beginning until it goes into the oven is the key to flaky pastry.  Another point I’d like to make, I do not like a soggy crust. There’s nothing worse than lifting a slice of pie from the pan and the bottom falls out, but I have a fix for this. It’s called blind baking the crust. See below.