make firmwares.rb, firmware.html work consistently