Added regex for mac/linux