Fixes paths in .pl files as well