Webkit Terminal help.

Ok I would like to make a applescript that would past this terminal command defaults write org.webkit.nightly.WebKit
StartPageDisabled -bool YES to the terminal after a new nightly build it run.
I use a program called nightly to get a new copy every 24 hours.
But every damn time a new build of webkit is run it resets the defaults back to show the webkit page.
I just need to tap into you guys and come up with a script that could be run after it sees a new build has been installed.
ANy help would be great.
Michael

Model: PowerBook G3 400 MHz, PowerMac G4 450x2 MHz
Browser: Safari 522.12.1
Operating System: Mac OS X (10.4)

There’s not enough info here, Michael. AppleScript is capable of bypassing the terminal directly as follows:

set NWK to do shell script "defaults write org.webkit.nightly.WebKit \\ StartPageDisabled -bool YES"

Note that you have to escape certain characters ("" and double quotes in particular) and that the escape character is "".
If that fails, NWK will be non-zero.

I would suggest a script that kept its own pref file and used that to determine that a new webkit had been downloaded (using curl from a do shell script “curl …” construction, so the script would “know”.