parse screenplays with Ruby