QX90 Firmware help

My QX90 just arrived today, and I had it working fine until I tried to flash betaflight. I’ve tried everything online, like installing drivers, and the weirdest thing happened. If I plug in the battery, then plug in the usb port while betaflight is open (but not connected at all) then connect my TX, everything works. Then I can unplug from the computer and it still flies around, but if i unplug the battery and try again, it will not work. This is super weird and I’m hoping someone can help me out here :slight_smile:

Thanks