fixed up the pipeline again.

think I might even have it this time. it now only does 4 stages, btw.