Using the script location as an anchor, the scripts can now be called from anywhere and work.
This moves all the error handling and setup into configure.sh, for a cleaner script.