fix issues #12 and an example of #15

Please see #15 for why I added the particular `InstallDelete` section.

@ruimalheiro can you take a look?