Changes to python and r snippets.
Added a script to set default apps for mimetypes.