updated ImagingScript to grab URLs from email