bluetooth firmware loading scripts, bugfixes