Sync gen directory