fix applescript lookup of app