copies structure from internal repo