This allows us to overcome the nounset option in bash for all argument variables. Basically nounset will error if a variable which has never been defined is used. With the errexit option this then kills the script. By changing all argument variables to this format you overcome this problem, whilst getting the benefits of nounset and errexit.