In a bowl, combine flour, baking soda, baking powder & salt. Cut in shortening with a pastry blender or your finger tips. In a 1/2 cup measure, place the beaten egg & vinegar then add enough ice water to fill measuring cup. Make a well in flour mixture & add wet ingredients. Mix with a fork until combined into a pastry dough. Chill until filling is ready.