Path analysis and preparation.

Path analysis and concatienation so it's ready to use.