Added CleanMac function