edited mifare setup script for mac