UBB6 comes with a UBB5 -> UBB6 conversion script. I had a quick look at it a few weeks ago and it didn't look too complex (they mainly added some fields, IIRC). The quick solution would be to make a copy of your UBB5 install, upgrade it to UBB6, and import
Adrian

Adrian