Removes unused scripts