Use docopt to parse options. Compatible with python 2