edited install script to install phobos to linux or mac depending directory