Fixes boot script