remove unneeded scripts.