Great screenplay. Having Sartre writing a screenplay with Freud as the main protagonist should be something like Nietzsche directing a play on Kant, or Ayn Rand writing Karl Marx's autobiography.
However, in this screenplay, Freud is no cartoon villain, or some mere caricature -- Sartre instead chose to present him as an existential hero. The existential hero confronts the Absurdity of existence, and finds a way to create meaning, despite it. Freud faced overwhelming odds in a skeptical establishment, his mentors or intellectual superiors, an embarrassing family and a deeply cynical wife. But he broke on through to the other side and learned something about himself, about his own complexes, and developed psychoanalysis.
However, I did detect a subtle critique of Freud himself, rather than his theories.