Yeah, I just copied in the patch as it appeared, I'm sure it can be improved more.