ya screw from the bottom of the wood into the bottom of the pvc pipe, that works best. It works if you do it straight down from the top to, but you have more chance of catching.
^^^ yeah and make sure your screws are long enough to get far enough into the pvc. It'll help the screws grip a lot. Also, use a lot of screws... like one every foot or so. So yeah