add local dir for mac