Remove scripts that are not needed.