Export categories correctly