Works in Script Editor but not Filemaker Pro Advanced 8

I have a small script that works perfectly in Script Editor but not FMP.

Can anyone help ?

Here is my script:

tell application “Internet Connect”
connect the (disconnect)
tell application “Internet Connect”
end tell
end tell

All I get when I setup a new FMP script to run this Applescript is

Application is not running.

Anyone have any ideas ?

Will be back to check later when my current connection is not running through Internet Connet.