More fixes to cron-restore