Add regenerate command