Now it restarts instead of quitting