added code to spit out the pre paths