implmenting docopt instead of argparse