 During filming in 2002, Matthew Perry (qv) spent some time in  rehab due to an addiction to prescription painkillers. Production  was slowed, but the filmmakers focused on filming scenes without  Perry in them during his absence.