Add usage documentation to bash functions
Better documentation for all bash functions