adding pathologic to help rewrite absolute paths