```ruby
require 'yaml'
Dir[File.join(File.dirname(__FILE__), *%w[.. vendor * lib])].each do |path|
  $LOAD_PATH.unshift path
end

_original_verbosity = $VERBOSE
$VERBOSE = nil
require 'mite-rb'
$VERBOSE = _original_verbosity

require 'string_ext'
require 'mite_ext'
require 'mite_cmd/application'
require 'mite_cmd/autocomplete'

module MiteCmd
  BASH_COMPLETION = "complete -C \"mite auto-complete\" mite"
  
  CONFIG_FILE = File.expand_path '~/.mite.yml'
  
  mattr_accessor :calling_script
  
  def self.load_configuration
    if File.exist?(CONFIG_FILE)
      configuration = YAML.load(File.read(CONFIG_FILE))
      Mite.account = configuration[:account]
      Mite.key = configuration[:apikey]
    else
      raise Exception.new("Configuration file is missing.")
    end
  end
  
  def self.run(args)
    Application.new(args).run
  end
  
  class Exception < StandardError; end
end```

Remove kludgy workaround for warning caused by mite-rb now that mite-rb 0.4.4 removes the warning.
user
```ruby
require 'yaml'
Dir[File.join(File.dirname(__FILE__), *%w[.. vendor * lib])].each do |path|
  $LOAD_PATH.unshift path
end
require 'mite-rb'

require 'string_ext'
require 'mite_ext'
require 'mite_cmd/application'
require 'mite_cmd/autocomplete'

module MiteCmd
  BASH_COMPLETION = "complete -C \"mite auto-complete\" mite"
  
  CONFIG_FILE = File.expand_path '~/.mite.yml'
  
  mattr_accessor :calling_script
  
  def self.load_configuration
    if File.exist?(CONFIG_FILE)
      configuration = YAML.load(File.read(CONFIG_FILE))
      Mite.account = configuration[:account]
      Mite.key = configuration[:apikey]
    else
      raise Exception.new("Configuration file is missing.")
    end
  end
  
  def self.run(args)
    Application.new(args).run
  end
  
  class Exception < StandardError; end
end```
assistant