Added support for crash reporting