directory sync now working