Fix external-scripts