Moving version check to fact, re-working installation logic