Link viewport rotation with HDRI environment map

I have the script which rotates objects according to viewport rotation
Need help to change it in order to rotate linked HDRI map (U Offset)

Thank you in advance

AttachmentSize
lookat.ms2.23 KB