Enhanced OS X setup script