I'm looking for the correct way to run the main line underneath a crawl space and terminate it my plumbing. This mess is in a flip home that I purchased, but I have limited plumbing knowledge so I'm seeking assistance. The main line coming into the crawl space is a black flexible pipe. It comes in at ground level, but it has been elevated and straped to the floor joist. Then a plastic shut off valve has been installed, which then feeds some blue pex using a shark bite fitting. The blue pex goes up into the laundry room, where a brass shutoff valve was installed, returning back underneath the house and then it ties into the CPVC main plumbing for the house. I have attached pictures which better show what I'm dealing with. My question is what is the proper way to run this? Should the main line be lying on the ground or is it OK to be strapped up as shown? As of now, nothing leaks, but with winter coming on, I don't want to be dealing with busted pipes.