Fix DB2 upgrade scripts