Fix the fetch addresses script.