Since one bucket per directory was a catastrophe (you only get 100 for your account), changed the script to just put "large enough" directories into their own buckets. Gets a reasonable split-up of buckets. Also improved logging and followed convetion for method docs