deletepath("/boot/helicopter").
compile "0:/lib/stabilize_helicopter" to "1:/lib/".
compile "0:/init/helicopter" to "1:/init".
// Set OS to boot and restart.
set core:bootfilename to "/init".
reboot.