Fixed using args instead of cmd.