upgrade step 7 scripts