Generate a correctly punctuated version of the following text: During Prignons lifetime 16381715 Champagne was a still flat red wine similar to that produced in nearby Burgundy Sparkling wines which sometimes occurred unintentionally were regarded as flawed Ironically one of Dom Prignons main areas of activity was the search for ways to prevent effervescence
During Perignon's lifetime (1638-1715), Champagne was a still, flat red wine similar to that produced in nearby Burgundy. Sparkling wines, which sometimes occurred unintentionally, were regarded as flawed. (Ironically, one of Dom Perignon's main areas of activity was the search for ways to prevent effervescence.)