built all to a directory