Add main() to anviz_sync.sync
Fix AttendanceRecord model usage