iphoto5 import

tell application “iPhoto”
activate
import “/tmp/my.jpg”
end tell

…does obviously not work with iPhoto5.
So what’s the right way to import a photo?