Add upgrade script and rename existing one.