Added simple os detection