fixes #7495 v151 upgrade script prefix/suffix addition