Image Capture

Hi,
i need some help to understand how to import images from a photo camera.
I use for this purpose the Image capture workflow/service of Automator and a applescript i wrote. The syntax handler

on run (import)
--import images
end

fails -strange to say- without importing anything, why?
:frowning: