Some changes to run script and bootloader.