Added droplet functionality to the AppleScript.