@Jenny
Search one of the key points in the script using Ctrl+F in the Remote Window, select the script and remove it.