Remove redundant scripts.