<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def main():
  '''i am winston wolfe, i solve problems'''
  arguments = docopt(__doc__, version=__version__)
  if arguments['on']:
    print 'Mr. Wolfe is at your service'
    print 'If any of your programs run into an error'
    print 'use wolfe $l'
    print 'To undo the changes made by mr wolfe in your  bashrc, do wolfe off'
    on()
  elif arguments['off']:
    off()
    print 'Mr. Wolfe says goodbye!'
  elif arguments['QUERY']:
  	last(arguments['QUERY'], arguments['-g'] or arguments['--google'])
  else:
    print __doc__