remove trailing whitespace on save. swap quotes commands.