User blog comment:The Sam Puckett/THE SEQUEL IS iPSYCHO!!!!/@comment-3209350-20110623095739/@comment-1742110-20110624055845

People, Dan writes up until the episode is filmed, he makes changes and stuff sometimes hours before the table read. Dan often writes until the script is distributed. During Season 3, it was very common for Dan and the writers to be working on the scripts the Sunday before table read.