Correct broken inter-script references