So if you're using the script as part of something else, it isn't main. It won't run. It'll instead be run through another script that references it.