Rotate screen after new flash

Flashed the new raspberrypi OS , all went well untill the end.
Boots up OK but screen is rotated 90 deg anti clockwise. There is a screen configuration in the drop down menu and Preferences, where you can set DSI screen orientation, but this has no effect.