Distance equivalences script