Fix references to scripts.