Adjust path generation