Lucas, accompanied by producer Gary Kurtz visited the Tunisian island of Djerba with them and were impressed by the desert landscape and the unusual architecture, and selected Tunisia to provide the desert planet setting. When production began on Star Wars, production designers John Barry and Robert Watts scouted for filming locations in Morocco and Tunisia. George Lucas originally envisaged filming the Utapau/Tatooine scenes in Algeria (inspired by Michelangelo Antonioni's 1975 film The Passenger), Libya or Iran, but these locations were rejected by 20th Century Fox. Hotel Sidi Driss, used for the Lars homestead scenes. Prior to production, early artwork commissioned by Lucas from conceptual illustrator Ralph McQuarrie show robots lost on a desert world, scorched by twin suns and mysterious, masked Tusken Raiders riding large horned Banthas. In Lucas's rough draft, The Star Wars (1974), the escaping droids land in a desert on the planet Aquilae in later drafts the planet again takes the name of Utapau.
In his early treatment, Lucas opened the story on the fourth moon of the planet Utapau, the home of a young warrior called Annikin Starkiller. In his early drafts of the Star Wars story, author George Lucas changed the names of planets and characters several times.