Corrected askConfirmation for generate