I compiled my script and some of the script changed

Typically, scripts only change it they have properties that change. The script may also change if it was originally compiled under an earlier version of AppleScript than you are currently using. In this case, open the script, make a minor change to it, and recompile it.