fix stupid tuple bug, add dry_run option