Adjusts paths