When you publish a script in Studio, you embed it in the Excel data file. Runners can then run the script from the Excel worksheet by using the Excel Add-in.
The data file and the script are published, and runners who open the data file can run the script.