Bug #2845: add script to fix address import