removed mac specific stuff
added curl