Added confirm option and updated examples