As this is a copy from ogom, fix paths