Run scripts automatically on Mac OS X