upgrade script appears to be working properly now.