add MacOSX Automator support