setup enviroment in Mac OS X