1) An IF that was used as an IFELSE is now an IFELSE.
2) The -H parameter was given with a decimal point (which was then
ignored due to compatibility with historically sloppy command line
parsing. The -H command-line parameter is now given as an INT.
3) The command line to run manually (when automatic restart fails) is now
given on a separate line for readability.
None of these issues prevented the code from doing what it was supposed to do.