Figured out that the problem is that I need unique final directory names for all the BED directories
Now able to build hubs with properly uniquely named tracks