Fixes bugs with check.sh not restarting coovachilli