KEYLAB MK3 mapping not working in LOGIC

Hi,
Just set up my Keylab mk 3.
Latest firmware, midi control center and ASC.
Works fine with standalone Analog Lab Pro. All faders and knobs mapped to the correct controls.

Downloaded and installed Script for Logic.
Set up as a control surface in Logic (latest update), Mackie control etc.
Midi Control Center DAW setting to Logic.
Controls Logic fine.
When you go to PLUGIN on the Keylab screen, the 9 faders and knobs do not control the correct controls in Analog Lab, the mapping is all wrong. Some control Logic parameters even when in Lab mode.

Also in settings on the Analog Lab plugins, in midi, it sometimes reads Keylab Mk11 ( which I briefly had and quickly exchanged for the Mk3)

My essential 49 mk111 worked just fine, Standalone and in Logic, so I must have got that one right.

What am I doing wrong please!!

If it’s anything like Cubase you have to select Arturia mode on your Keylab…click the prog button then select Arturia on the screen. You do this even when you are already in DAW mode when you open Logic. Then all the sliders and nobs will map to the controls shown on e.g. Analog Lab. You can then swap between DAW mode and Arturia mode to suit what you are doing.