needed a bit more work on the path.join