Add dry-run mode
Add history to index