Ensure that upgrade script is up-to-date