cleanup os detection, nohidden, no linting in linux