What exactly did that do though?

I would like for the script to only execute when I click on an icon or something of it in Emulation Station.

Sorry if I'm still being a pain on this. :(