first whack at an upgrade script.
renamed to make this directory nice and tidy.