Switched to /usr/bin/appledoc instead of assuming it is in your shell path.