Added Auto OS detection and started checking for linux