modify config for mac