script to test upgrade
change it in check too