Added --noinput option to disable confirmation