rebuild directory
setup directory