Maybe this patch fits in a little better. I used mkdir-p/perms like the surrounding code instead of just mkdir-p. -- Alex Griffin