adds a self-contained version, plus:

refers to it in the README