BH Import/Export with some fixes