Fixed startup script to restart on crash.