Whole document first bash