I'm not sure why it doesn't work, but a better way would be to use the import statement: import app_applscrip app_applscript.createOptionList(applOptions) Cheers Tim