Added -d option to use a default response of Yes.