Command line control of Mac OS X