Added option to restart after crash