Fixed the linux / osx discover.