Remove path adjustment code from the scripts.