Fixes to boot script.