remove redundant scripts