Script works fine in Script Editor, but not as an run only

I have securityspy (http://www.bensoftware.com/ss/index.html) and sms mac(http://www.smsmac.com/en/applescript/)
the script i wrote and copied works if i push the run botten but when i save as run only it dont work

tell application "SMS Mac Scripting" 
	set account to "xxxxxxxxxxx@bellsouth.net" 
	set pin to "xxxx" 
	set m to make new outgoing sms with properties {flash:false} 
	tell m 
		set message to "motion detected!" 
		set recipients to {"+1xxxxxxxxxxx", "+1xxxxxxxxxx"} 
		set sender to "+1xxxxxxxxxx" 
		set delivery report to true 
		try 
			send 
		on error errMsg number errNum 
			display dialog "Error: " & errNum & ". " & errMsg 
		end try 
	end tell 
end tell 
x is private numbers

same error when i save as run only and double click and with securityspy as application trigger
unable to read file because script is not editable( it was saved as run only)
enable access for assistive devices is on

Model: dual g4 1 ghz
AppleScript: 2.1.1
Browser: Safari 419.3
Operating System: Mac OS X (10.4)

How are you running the script after you save it as run only?

ive tried to save it as an ap and script and either way it has the same error

inside the program security spy has a place for scripts and through their instructions save as run only and as it triggers the start of the script it has the error (unable to read file because script is not editable( it was saved as run only) )
aswell when i double click on the script itself