Changed flags so that capital letters are destructive and lower case are
not.