add shell var and doc