added lines for Mac OSX