Fix IFS not being reset if an error occurs
Fixed IFS not being reset if an error occurs after IFS is changed. This addressed issue #7 (closed).
Made minor consistency changes:
- Moved the variable declaration for 'values' to the rest.
- Changed the placement of
+noallfor a dig command.