Fixed sync. Now need to add dirs creating.