This is still needed for the output params and ds output.

But we must delay it. I propose to do it 'onload'