fix boot script