Automatically share internet connection

I made this script from 2 other scripts and I would like to ask you if you think it can be done better :). Thanks for any help.

First part checks if wifi is off and turn it on if necessary.
And the second part turn on internet sharing .

property airportUtil : "/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I"

set res to do shell script airportUtil & " -p || exit 0"

if res contains "off" then
	-- Toggle Airport on
	do shell script "networksetup -setairportpower en1 on 2>/dev/null"
	set apStatus to true
end if

tell application "System Preferences" to set current pane to pane "com.apple.preferences.sharing"
tell application "System Events" to tell process "System Preferences"
	if value of checkbox 1 of row 11 of table 1 of scroll area 1 of group 1 of window "Sharing" is 0 then
		set WifiSharing to 0
		click checkbox 1 of row 11 of table 1 of scroll area 1 of group 1 of window "Sharing"
	end if
	if value of checkbox 1 of row 11 of table 1 of scroll area 1 of group 1 of window "Sharing" is 1 then
		set WifiSharing to 1
		click checkbox 1 of row 11 of table 1 of scroll area 1 of group 1 of window "Sharing"
	end if
	if (exists sheet 1 of window "Sharing") then
		
		click button "Start" of sheet 1 of window "Sharing"
	end if
end tell
ignoring application responses
	tell application "System Preferences" to quit
end ignoring

tell application "GrowlHelperApp"
	register as application ¬
		"Internet Sharing AppleScript" all notifications {"Internet Sharing Notification"} ¬
		default notifications {"Internet Sharing Notification"} ¬
		icon of application "Airport Utility"
	if WifiSharing is 0 then
		notify with name ¬
			"Internet Sharing Notification" title ¬
			"Internet Sharing status" description ¬
			"Internet Sharing is now ON." application name "Internet Sharing AppleScript"
	else
		notify with name ¬
			"Internet Sharing Notification" title ¬
			"Internet Sharing status" description ¬
			"Internet Sharing is now OFF." application name "Internet Sharing AppleScript"
	end if
end tell