Add a condition test to make the script more robust.
Use the built-in DEFAULT section to simplify logic and code.