modify slides and add necessary images