I would have thought there would be a hook somewhere in the upgrade script which could be fired automatically instead.