just to say...
i had tried the script autoFMTswitch 1391 with 208 firmware, OFW.
while the auto resolution (and frame rate) works, i got flickers and dropped frames when doing 4k HDR.
installed firmware 209, tried again - all is fine, working the way expected it to.
i do not know if 209 vs 208 firmware made the diff or if it wasn't installed properly the first time.
excllent work, thanks to pcristi and futeko!