 Shatner conceived his idea for the film's story before he was officially given the director's job. His inspiration was televangelists; "They [the televangelists] were repulsive, strangely horrifying, and yet I became absolutely fascinated," he recalled. Shatner was intrigued that not only did these personalities convince others God was speaking directly to them, but they became wealthy by what Shatner considered false messages. The televangelists formed the basis for the character "Zar", later "Sybok". Shatner's first outline was titled "An Act of Love", and many of its elements — the Yosemite vacation, the abduction of Klingon, human and Romulan hostages on the failed paradise planet — survived to the final film. In Shatner's early draft, Kirk is overwhelmed by Zar's superior numbers of followers and Spock, McCoy and the rest of the Enterprise crew come to believe in Zar's divinity. Kirk feigns acceptance of Zar's beliefs to travel with him to the God planet, which to Shatner would be a desolate, fiery waste. When Kirk confronts "God", the image of the being transforms into that of Satan, and Kirk, Spock, and McCoy split up in their escape. Kirk eludes capture but goes back to save his friends from being carried away to Hell.
