adds contexts
reorders methods in alphabetical order
refactors to use stub_dotfile
refactors to use an helper for dotfile options