path handling fixes, and log updates