saved new script as ShadowRayScan3