add dump.sh to dump docs to file