Incomplete script removing