Restored an upgrade script removed by accident