Removing unnecessary scripts.