principal cast members. However, Garland was dissatisfied with the script, feeling its plot to be weak and her character too juvenile. Mayer agreed, and Freed brought in a pair of writers to revise Ludwig's script who added the storyline of the family's looming move to New York. Freed liked the changes but Garland remained unhappy with the script. Freed's conflict with producer Joseph L. Mankiewicz, Garland's lover who was developing what would become The Pirate with Garland in mind for the lead role, nearly caused Meet Me in St. Louis to be indefinitely postponed. The situation was resolved when Mankiewicz left MGM for Fox, and Freed's project was given the green light with a preliminary budget of $1,395,000 and plans to begin production in early October 1943. However, production was delayed because of studio problems and Technicolor Inc.'s heavy schedule, and the project finally entered production on December 7, 1943, with shooting scheduled for 58 days and a budget that had increased to $1,500,000. Nearly half of the film's budget was devoted to sets ($497,000) and music ($234,000). Story and continuity costs exceeded $132,000 because of the numerous rewrites. Garland was paid $2,500 per week, Margaret O'Brien $250 per week and Minnelli $1,000 per week while producing the film. Garland, unhappy with the script and unsure of herself as a leading lady, also suffered severe emotional problems, an acute addiction to amphetamines and numerous physical ailments such as recurring migraine headaches. Production reports show that she disrupted the schedule with fits of hysteria, habitual lateness and occasional absences, missing an entire week of shooting because of what she claimed to be an ear infection. Garland also balked at Minnelli's heavy schedule of rehearsals and prerecording sessions in the months preceding filming, but Minnelli won her confidence and the two became lovers, cohabiting by the time of the film's post-production and marrying soon after its release. Earlier in the production, Garland had a brief affair with her costar Tom Drake. Production delays were also caused by illnesses suffered by O'Brien, Mary Astor (pneumonia) and Joan Carroll (appendicitis), but Minnelli used the delays to prepare O'Brien's most demanding and important scenes. Severe rains and flooding in the Los Angeles region caused further delays in the production of exterior scenes. Filming completed on April 7, 1944, behind schedule and with a final budget near $1.8 million. The first rough cut exceeded two hours