Fix/same dir dupes

This addresses #7