Add a default context for console and rake tasks