added generic helper function for prompting for option selection or yes/no
changing the yes/no prompt so that it can require exact match