The previous owner had sawed off the PVC pipe that connected the sprinkler to water pipe coming out of the wall. Here are a few pics. I need to reconnect this. What do I need other then some PVC pipe and glue. How can I thread a pvc pipe to the metal T coupling that has a hose bib on one end.