Readonly was broken.
Added support for doc gen/upload
More configurable, better logging.