Differentiate ubuntu and mac scripts