add mac/linux solution