Can this be merged into a single `checkHilaryStartup` function?