Making the planner script call view.render