check_logs: merge missing updates from work machine including putting a cpa-stats.csv in both dirs, counting only logs with wave files, and unsetting the correct variables on each loop iteration