Fix processAndSyncAll to use correct paths.