Added auto-backup functionality.