extend the fragility curve viewer app to process discrete curves