A process for upgrading heavy hydrocarbons in a system comprising: a first ebullated bed reactor; a first separator; a stripping tower; a fractionation system (54, 60); and a solvent deasphalting system; the process comprising: operating the system in a first mode to produce a feed for a residual fluid catalytic cracking (RFCC) unit, operating the system in the first mode comprising: reacting a deasphalted oil and a vacuum distillate in the first ebullated bed reactor containing a hydrotreating catalyst to form a first effluent; separating the first effluent in the first separator into a first gas phase and a first liquid phase; stripping the first liquid phase in the stripping tower to produce a strippers bottom and a stripper overhead; fractionating the stripper overhead in the fractionation system to produce at least one atmospheric distillate and an atmospheric bottoms; fractionating the atmospheric bottoms in the fractionation system to produce the vacuum distillate and a vacuum bottoms; solvent deasphalting the vacuum bottoms in the solvent deasphalting system to produce the deasphalted oil; and transporting the strippers bottoms as the feed to the RFCC unit; operating the system in a second mode to maximize the resid conversion in the first ebullated bed reactor, operating the system in the second mode comprising: reacting the deasphalted oil in the first ebullated bed reactor containing a hydrocracking catalyst to form a second effluent; separating the second effluent in the first separator into a second gas phase and a second liquid phase; fractionating the second liquid phase in the fractionation system to produce at least one atmospheric distillate and an atmospheric bottoms; fractionating the atmospheric bottoms in the fractionation system to produce the vacuum distillate and the vacuum bottoms; and solvent deasphalting the vacuum bottoms to produce the deasphalted oil; transitioning the system between the first mode and the second mode, wherein the transitioning comprises: removing the hydrotreating catalyst from the first ebullated bed reactor while simultaneously adding a hydrocracking catalyst to the first ebullated bed reactor; fractionating the first liquid phase in the fractionation system to produce the atleast one atmospheric distillate and the atmospheric bottoms. a first ebullated bed reactor; a first separator; a stripping tower; a fractionation system (54, 60); and a solvent deasphalting system; reacting a deasphalted oil and a vacuum distillate in the first ebullated bed reactor containing a hydrotreating catalyst to form a first effluent; separating the first effluent in the first separator into a first gas phase and a first liquid phase; stripping the first liquid phase in the stripping tower to produce a strippers bottom and a stripper overhead; fractionating the stripper overhead in the fractionation system to produce at least one atmospheric distillate and an atmospheric bottoms; fractionating the atmospheric bottoms in the fractionation system to produce the vacuum distillate and a vacuum bottoms; solvent deasphalting the vacuum bottoms in the solvent deasphalting system to produce the deasphalted oil; and transporting the strippers bottoms as the feed to the RFCC unit; operating the system in a second mode to maximize the resid conversion in the first ebullated bed reactor, operating the system in the second mode comprising: reacting the deasphalted oil in the first ebullated bed reactor containing a hydrocracking catalyst to form a second effluent; separating the second effluent in the first separator into a second gas phase and a second liquid phase; fractionating the second liquid phase in the fractionation system to produce at least one atmospheric distillate and an atmospheric bottoms; fractionating the atmospheric bottoms in the fractionation system to produce the vacuum distillate and the vacuum bottoms; and solvent deasphalting the vacuum bottoms to produce the deasphalted oil; reacting the deasphalted oil in the first ebullated bed reactor containing a hydrocracking catalyst to form a second effluent; separating the second effluent in the first separator into a second gas phase and a second liquid phase; fractionating the second liquid phase in the fractionation system to produce at least one atmospheric distillate and an atmospheric bottoms; fractionating the atmospheric bottoms in the fractionation system to produce the vacuum distillate and the vacuum bottoms; and solvent deasphalting the vacuum bottoms to produce the deasphalted oil; transitioning the system between the first mode and the second mode, wherein the transitioning comprises: removing the hydrotreating catalyst from the first ebullated bed reactor while simultaneously adding a hydrocracking catalyst to the first ebullated bed reactor; fractionating the first liquid phase in the fractionation system to produce the atleast one atmospheric distillate and the atmospheric bottoms. removing the hydrotreating catalyst from the first ebullated bed reactor while simultaneously adding a hydrocracking catalyst to the first ebullated bed reactor; fractionating the first liquid phase in the fractionation system to produce the atleast one atmospheric distillate and the atmospheric bottoms.