Environment variables and Studio sandbox

Hi,

I am using Apollo Studio in a Sandbox only, I have defined some environment variables and trying to access them from a preflight script.

But the environment variables are not set, in fact the explorer.environment is an empty object.

Screenshot 2023-02-15 094838

What am I doing wrong?

Thanks
Mike

New users can only put one image in a post, so here is output from the script