Quoted the arguments to the variables to ensure that they are assigned
properly (paranoia), and also made TYPE able to be configured as an
environment variable in addition to being passed as an argument of the
script.
diff --git a/scripts/spellcaster.sh b/scripts/spellcaster.sh
index b9e2d2b..255ae35 100755
--- a/scripts/spellcaster.sh
+++ b/scripts/spellcaster.sh
@@ -68,11 +68,11 @@ then
fi