Use $installedVersion instead of $currentVersion