Complex sentence: Greaney's inspiration for "Bart to the Future" came from "Lisa's Wedding", but he wanted to write a flashforward episode that focused on Bart instead of Lisa.
Split into simpler sentences: Greaney's inspiration for "Bart to the Future" came from that episode. Greaney wanted to write an episode set in the future that focused on Bart instead of Lisa.