According to one of the commentaries, he would indeed write the script in his home, and once he was done, he would just drive up to the studio, throw one of the scripts to the writer's room in his car and leave. The writers just go "oh, another John script" and rewrite it a little.
But yeah...