We install discharge lines based on the grade of the landscaping surrounding the house. This means that sometimes we have to go a little out of the way in order to discharge the water in a place where it won't head right back to the foundation. It's a good thing all of this is buried.