Dropped all my old code for a new way to do this with ripper.