Modified install script macosx