To add stability to PVC pipes after screwing them into place, you can
Add varnish to the connection between the pipes to that they stay firmly in place
Add epoxy to the connection between the pipes to that they stay firmly in place