fix mtime check, add dry run