Left in debug code. Add check for firmware_install