added docs and bash