add crash detection and ability to startover after crash