Trouble creating category in import script

I can’t remember how this got solved,but I did just add support for non linked images to vbulletin.rb.