add --curl option, improve docs, rev version