Improved version installation to be dynamically based on what package is available