Added detection of installed versions