Please rework this text to be less complex:
It was directed by Sam Raimi and written by David Koepp, and stars Tobey Maguire, Willem Dafoe, Kirsten Dunst, and James Franco.
It was written by David Koepp and directed by Sam Raimi.