Provide POSIX compliant ask function (no read -p).
Politely ask bash to be POSIX compliant.
Add a few comments.
Add a clear before the configuration phase.
Fix substitution of unset/null string of a potentially unset variable.