Seem to have fixed the problem with boot now, so script is back to
normal.