updated upgrade_savi_image script so order of operation is more accurate