* added LOTS of boilerplate code to make this script more user-frienldy.
  Also, this should be a good exercise on how to do things The Right
  Way.
* added a configuration file