It is very important to remember that the pastry must be cold when it goes into the hot oven. If the pastry warms up while you're working with it, put it back into the refrigerator until it's cold. The reaction of the cold pastry with the heat of the oven is what causes it to puff and become flaky.