When adding directories to the repo set props to it's children