Fixed sh file for mac