Bugfixes with bootloader installation