modified paths for mac OSX