tweaked the upgrade script to call based on ids directly.