Define picture? And the events follow a course I suggest looking into the ripple effect. It'll remove most of your confusion. The plan was always set would it have reached fruition? Would Madara be summoned? Would kaguya have been revived ? Would obito be able to control the jyubI without Madara? Many more things could happen.as soon madara came into the picture the plan was set