remove the redundant scripts