Script only runs on EURUSD H1

Whenever I run a script, it always opens a chart of EURUSD H1 and then closes it in order to run the script.

How do I prevent this from happening?