Swapping darwin9 for darwin10
Switching sed to mac syntax