Adding crash reporting capability