add docopt to reduce dependencies