switching upgrade script to main branch