Fix script injection