The second option is the key to making this work the way you want.
Choose the Edit Script option

Then edit the script like this:

The first line tells JMP which file to open. Then on the second line insert "dt<<" before the first argument. That sends the argument to the specified data table. Note that "dt" is an arbitrary variable name.
Hope this helps
-B
JMP Systems Engineer, Health and Life Sciences (Pharma)