Pass Image IDs to script when Wells selected. See #11835
Merge pull request #2155 from will-moore/rebased/dev_5_0/wells_to_script_iIds_11835

Pass Image IDs to script when Wells selected. See #11835 (rebased onto dev_5_0)