upgrade script was failing