Huge thanks to Alec for fixing up the resource a bit! This script depends on nearest-postal by DevBlocky (only if using categories)