Execution / how do i get the name of the script

Hallo, I see in the output of k6:

execution: local
script: path / to / script.js
output: -

How can I get the script name during runtime? (e.g. function, global variable)

Unfortunately this isn’t currently possible, please follow Improve execution information in scripts · Issue #1320 · grafana/k6 · GitHub for updates.

I believe that acceptable walkaround is manually storing the name of the script in the returned value is setup function.