Added different commands for Mac and Linux