Add upgrade script.