I'd like to make an Applescript droplet with Automator that does the following: when I drop "Application.app" in the droplet, the script runs
./upx.out -d [the binary contained in the MacOS subfolder of Application.app]
where "Application.app" and the binary are variables, and where upx.out is contained in the Resources subfolder of the Automator droplet.