some lazy scripts to set up testing enviornment and run the upgrade automatically