high: implemented variable check using 'set -u', closing issue bug #5 on github.com