Fix boot scripts