Also… I think RogueLeader’s idea about moving the idea of Palpatine’s spirit moving into others into his first scene would work well.
Even though the mechanics aren’t made explicit to Rey during the climax, we the audience know them, so it might be forgivable. It is hinted at and she seems to have had plenty of psychic episodes throughout the movie.