The city is working with a contractor to finalize plans to tear down the vacant pharmacy that has been a magnet for problems in the neighborhood.