Add function to detect users OS