Twilight Sparkle believes that the security of Equestria has been handled rather poorly. So she decides to fix that.
More machine now than man. Twisted and evil.