I would just simply have a button on that page that runs the script. It's up to the user to provide a script that has some noticeable results . Like this: