working on Mac OS X .app file