if addresses.first not defined, use REDISTOGO_URL instead.