Workout vs Activity Load mismatch

I must have messed something up in my settings because the load calc in my planned workouts is constantly meaningfully under the load calculated from an activity. Power, time and intensity all match and workouts are built around %FTP steps. This low Z2 workout reads as a load of 40 but when i execute it on the trainer on erg mode power and intensity match but it comes out as Load 60.
workout


settings

Can’t figure out what setting i’ve changed to cause this

Show the activity.
An hour endurance pace is about 40 load, so that looks goods from my perspective

It seems your load is overwritten, maybe with a custom script?
If you click on the load field, the following modal opens


There you see the original calculated value for power or hr

Yeah. Power based calc is as expected. Strain is close in this case not in others though.

Is there any setting that enables strain for load calculation?

Do you have any custom scripts? Calculating load?

Thanks for the help.
There was a custom script called indoor load converter. The javascript was multiplying load by 1.5 for indoor rides. Since the box wasn’t checked i assumed it was not enabled but when i deleted it the load displayed correctly on activities