Added Applescript scan feature