Further changes to ROI scripts, functional now