Removes spurious script