vibration at 25-40 mph

Yesterday I found a disconnected vacuum line. Since I plugged it back in, the vibration is not noticeable. You can still see the exhaust pipe shaking if you look under the car, but you can hardly feel anything.