Initial checkin of the working upgrade script, including licensing blurb.