Added OS detection module