Copied from wrong backup.
Fixed minor else problem.
Ran on self.