add code checking OS