The original ending of the film called for Joe and Mabel to be shot to death, but the commercial failure of You Only Live Once (1937), which had a tragic ending, compelled the Warner Bros. studio heads to demand a happy ending. When writer Robert Rossen refused to write the new ending, Seton I. Miller was brought in to write it.