Making hard coded path fallback automatic