Added sudo to commands altering privileged info, added handler to deal with route cache flushes as needed.