Fix script to create restarts.