Fix script references