Once you accept all variants of Yes/NO above, it will be easier to match this here using:

```if echo "${MIGRATE}" | grep ^[Nn][Oo]\?$; then```