You'll need a layer named point01, and another as point02. The script will draw a straight line between those two points.
Some might ask, Why would you do that? Well, for one, it renders faster than using an effect. Also, you can do things like add noise, trim the paths a bit so they don't actually connect to the object, make it dashed, add wiggle without losing quality, etc.
So that's it. I just thought I'd share since I keep being frustrated that I can't find an updated version of the script. I can't remember syntax for the Life of me, which is why I'll never be a good programmer. But a little bit is kind of necessary to do what you want in AE.