One shell script and one AppleScript that gets included by the shell script.