(script-fu-menu-register "script-fu-smartcrop" "<Image>/Image/Crop")
Don't be confused by <Image>/Image/yourscript