When I changed my roof piping at the last house, I used 4" ABS pipe with nice sweep fittings for the below grade work.
The original 4" flex wasn't cutting it anymore.
Then I didn't see my cat anymore and I got plenty worried.
I found the cat, and finished the job, covering up the pipe.