Need help writing an Applescript to launch a specific Terminal Command...

I developed a script in Lingon (which is an automated script editor developed for OS X) that is used to automatically restart programs only if they crash. The script itself does just that, but I only want it to load if I'm going to use the specific application that it's designed to protect. In the OS X Terminal, when I type these two commands consecutively:

launchct1 unload "/Users/ME/Documents/Backed Files 2/Automator/Scripts/com.Restart.PROGRAM.Lingon.plist"
*ENTER*
launchct1 load "/Users/ME/Documents/Backed Files 2/Automator/Scripts/com.Restart.PROGRAM.Lingon.plist"
*ENTER*

My program immediately launches and, since I'll keep it running for several weeks, will always relaunch if it crashes. The problem is that I'm trying to create an Applescript (Shell Script) command that would incorporate these two previous commands in order for me to be able to launch it by way of double clicking my new script, as opposed to having to manually type these commands in the terminal and keep the terminal window open whenever I want to run my longterm program as a project. I'd assume that it would look something like this:

do shell script
{launchct1 unload "/Users/ME/Documents/Backed Files 2/Automator/Scripts/com.Restart.PROGRAM.Lingon.plist";
launchct1 unload "/Users/ME/Documents/Backed Files 2/Automator/Scripts/com.Restart.PROGRAM.Lingon.plist"}

but that doesn't work. I've tried to execute similar code into my Applescript using the Automator in order to test the shell script but everytime I run the changes it also reports an error. Any suggestions?

Double post. You can remove one post.

link : http://www.unix.com/os-x-apple/132578-need-help-writing-applescript-launch-specific-terminal-command.html\#post302405787

How do I delete this thread?

You can't remove the post. I wrongly told that one. Moderator will close the post.Don't worry.