i didn't publish it with the script, but i did use one to sort of split up the exported model into its component pieces. if i had to do it over again i wouldn't do it that way again, but i can show you the script i used:
https://github.com/reverendwolf/Mister-Dungeon
this should be public, it's the batch import script under the scripts folder