Fix external scripts.