Added database upgrading and downgrading, as well as fixed the the whole command line arguments situation.  Script is 100% functional at this point as does everything in the tutorial, just in a (imo) cleaner manner.