fix docopt and add Lambda