Using path.join instead of the mess I had.