Make decision based on whether it's mac or linux
Minor fix in order to update or checkout tulip
Bug fix where inconsistent paths were used.