replaced argparse with docopt