Handle "Union of Inputs" and "Intersection of Inputs" for the AOI options. It's unclear what data and which format is passed to the script tool.