Added in some basic OS detection for command changes