modified osx setup script slightly