Modified for working on just one machine (only mac, no need for linux)