Tell script to exit with an error if a variable is not set

Fairly trivial change but it helps with debugging....